﻿; 安装程序初始定义常量
!define PRODUCT_VERSION "3.5.1.2"
;--------------------------------------------------------项目参数
!define WEB_SITE "http://www.win-trust.cn/"
!define MAIN_APP_NAME "suloong_sm.exe"
!define MAIN_LAUNCHAPP_NAME "suloong_sm.exe"
!define PRODUCT_NAME "速龙安全浏览器"
!define PRODUCT_NAME_EN "Suloong"
!define PRODUCT_KEY "a9a57743d23638009c97a741dd36f58d"
!define PRODUCT_UPDATE_KEY "751a5db3737734ca9a036409e0f5197f"
!define PRODUCT_UPDATE_ID "1"
!define PRODUCT_UPDATE_ADDRESS "${WEB_SITE}"
!define PRODUCT_STATISTICS_ADDRESS "${WEB_SITE}"
!define PRODUCT_COMMENTS "${PRODUCT_NAME}"
!define PRODUCT_LegalCopyright "(C) ${WEB_SITE}. All Rights Reserved."
!define PRODUCT_WEB_SITE "${WEB_SITE}"
!define PRODUCT_LICENSE_WEB_SITE "${WEB_SITE}"

!define PRODUCT_INSTALL_DIR "0"
!define PRODUCT_SUPPORT_UPDATE "0"
!define PRODUCT_SUPPORT_STATISTICS "0"
!define PRODUCT_RESOURCE_ENCRYPT_TYPE "0"
!define PRODUCT_FORWORD_EFFECT_TYPE "0"
!define PRODUCT_BACK_EFFECT_TYPE "0"
!define PRODUCT_OVERLAY_INSTALL_TYPE "0"
;常量
;产品对应nsSkinEngine授权码 请勿更改
!define PRODUCT_PUBLISHER "${PRODUCT_NAME_EN}"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\${MAIN_APP_NAME}"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME_EN}"
!define PRODUCT_AUTORUN_KEY "Software\Microsoft\Windows\CurrentVersion\Run"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
!define UNINSTALL_DIR "$TEMP\${PRODUCT_NAME_EN}\${PRODUCT_NAME_EN}Step"
!define PRODUCT_REG_KEY "SOFTWARE\${PRODUCT_NAME_EN}"
!define DEFAULT_DIR "$PROGRAMFILES\${PRODUCT_NAME_EN}"    ;PRODUCT_INSTALL_DIR： 0 ，默认安装路径
!define DIY_SETUP_DIR "$PROGRAMFILES\${PRODUCT_NAME_EN}"  ;PRODUCT_INSTALL_DIR：1 ，自定义安装路径
;刷新关联图标
!define SHCNE_ASSOCCHANGED 0x08000000
!define SHCNF_IDLIST 0
; 安装不需要重启
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
; 设置文件覆盖标记
SetOverwrite on
; 设置压缩选项
SetCompress auto
; 选择压缩方式
SetCompressor /SOLID lzma
SetCompressorDictSize 32
; 设置数据块优化
SetDatablockOptimize on
; 设置在数据中写入文件时间
SetDateSave on
;设置Unicode 编码 3.0以上版本支持
Unicode true
; 是否允许安装在根目录下
AllowRootDirInstall false
Name "${PRODUCT_NAME}"

LicenseName "${PRODUCT_NAME_EN}"
LicenseKey "${PRODUCT_KEY}"

InstallDir "$PROGRAMFILES\${PRODUCT_NAME_EN}"
InstallDirRegKey HKLM "${PRODUCT_UNINST_KEY}" "UninstallString"
;文件版本声明-结束

